how to create tic tac toe game with python